<template>
    <div>vip茶楼 <br>
         <input type="number" name="oldcode" v-model="params.oldcode"> <br>
         <input type="number" name="newcode" v-model="params.newcode"> <br>
         <button @click="changeHouse()">修改</button>
    </div>
   
</template>
<script>
import {modifyHouse} from '@/api'
export default {
    data(){
        return {
            params:{
                oldcode:963628,
                newcode:111111
            }
        }
    },
    mounted(){

    },
    methods:{
        changeHouse(){
            modifyHouse(this.params).then(res=>{
                console.log(res);
            });
    }
    }

}
</script>